package com.tbit.main.controller;

import com.tbit.main.constant.SysConstant;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 获取版本接口
 *
 * @author LMY
 * @create 2021-06-30 16:03
 */
@RestController
public class VersionController {


    /**
     * 查询
     *
     * @return
     */
    @RequestMapping("/version")
    public String get() {
        return SysConstant.VERSION;
    }


}
